import { BaseService, Permission, Service } from "/@/core";

@Service("student/student")

class studentService extends BaseService {
  @Permission("leaveStudent")
	leaveStudent(data: any) {
		return this.request({
			url: "/leaveStudent",
			method: "POST",
			data
		});
	}
	@Permission("studentReport")
	studentReport(data: any) {
		return this.request({
			url: "/studentReport",
			method: "POST",
			data
		});
	}
	@Permission("restAllClass")
	restAllClass(data: any) {
		return this.request({
			url: "/restAllClass",
			method: "POST",
			data
		});
	}
	
}

export default studentService;
